package xh;

/**
 * Created by Administrator on 2016/7/6.
 */
public class MovieBuddyServer {

    FileListManager fileListManager = new FileListManager();

    RemoteFileListReceiver remoteFileListReceiver = new RemoteFileListReceiver(fileListManager);

    FileServer fileServer = new FileServer(fileListManager);

    DownloadManager downloadManager = new DownloadManager(fileListManager);

    public void start() {

        fileListManager.start();
        remoteFileListReceiver.start();
        fileServer.start();

        downloadManager.start();
    }
}
